@layout("/common/head.html"){
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>新增</legend>
</fieldset>
<form class="layui-form" action="">
    <#select selectName="项目类型" id="type" name="type" list="${types}" optionName="name" optionValue="code" required="required"/>
    <#select selectName="项目名称" id="typeName" name="typeName" list="${typeNames}" optionName="name" optionValue="name" required="required"/>
    <#select selectName="计算规则" id="calcRule" name="calcRule" list="${rules}" optionName="name" optionValue="code" required="required"/>
    <#input inputName="项目金额" id="amount" name="amount" required="required"/>
    <#button btName="新增" filter="add"/></form>
<script src="${ctxPath}/static/modules/salary/conf/conf_add.js"></script>
</body>
@}